package com.example.androidpattern.proxy.classes;

import android.util.Log;

import com.example.androidpattern.proxy.interfaces.IImage;

/**
 * @ClassName: ProxyImage$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/11/12$ 11:01$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class ProxyImage implements IImage {
    private static final String TAG = "ProxyImage";
    private final IImage mImage;

    public ProxyImage() {
        mImage = new RealImage();
    }

    @Override
    public void show() {
        Log.d(TAG, "show: " + "ProxyImage");
        mImage.show();
    }
}
